﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC_Uthorization.Domain.Entity
{
    /// <summary>
    /// 公司表
    /// </summary>
    [Table("sys_offic")]
    public class sys_offic:Audit
    {
        /// <summary>
        /// id编号雪花算法
        /// </summary>
        [Key]
        public string id { get; set; }
        /// <summary>
        /// 系统编号
        /// </summary>
        public string sys_id { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 公司人数
        /// </summary>
        public int num { get; set; } = 0;
        /// <summary>
        /// 公司到期时间
        /// </summary>
        public DateTime? end_date { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        public int useable { get; set; } = 1;



    }
}
